]> dgit.raspbian.org Git - gnome-shell.git/commit
cleanup: Don't shadow variables
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 20 Aug 2019 00:20:08 +0000 (02:20 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 11 Nov 2019 19:25:14 +0000 (19:25 +0000)
commit682bd7e97ce956bed45d137812d569aaa58c55be
treea41db412ccdb2392bebab91031283da038fe7e9c
parent2e4e2500dd633a33f7fa45d5982af6a6868a7329
cleanup: Don't shadow variables

Having variables that share the same name in overlapping scopes is
confusing and error-prone, and is best avoided.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/805
34 files changed:
js/gdm/loginDialog.js
js/misc/ibusManager.js
js/misc/loginManager.js
js/misc/util.js
js/misc/weather.js
js/ui/appDisplay.js
js/ui/background.js
js/ui/backgroundMenu.js
js/ui/calendar.js
js/ui/components/automountManager.js
js/ui/components/autorunManager.js
js/ui/components/telepathyClient.js
js/ui/dash.js
js/ui/dnd.js
js/ui/extensionDownloader.js
js/ui/extensionSystem.js
js/ui/inhibitShortcutsDialog.js
js/ui/layout.js
js/ui/lookingGlass.js
js/ui/main.js
js/ui/notificationDaemon.js
js/ui/pointerA11yTimeout.js
js/ui/popupMenu.js
js/ui/runDialog.js
js/ui/screenShield.js
js/ui/screenshot.js
js/ui/status/accessibility.js
js/ui/status/keyboard.js
js/ui/status/network.js
js/ui/status/remoteAccess.js
js/ui/switcherPopup.js
js/ui/windowAttentionHandler.js
js/ui/windowManager.js
js/ui/workspaceThumbnail.js